import { request } from "@/utils/service"

// 团长服务费

/** 删 */
export function deleteApi(id: string) {
  return request({
    url: `teamLeaderServiceFee/${id}`,
    method: "delete"
  })
}

/** 改 */
export function updateApi(data: any) {
  return request({
    url: "teamLeaderServiceFee/" + data.id,
    method: "put",
    data
  })
}

/** 查 */
export function getApi(params: any) {
  return request<any>({
    url: "teamLeaderServiceFee",
    method: "get",
    params
  })
}
